//==============================================================================
// Halberdier_Anim.txt
//==============================================================================

import halberdier_weapon_anim.txt
import Chinese_Academy_Shield_anim.txt

//==============================================================================
define Head
{
	SetSelector
	{
		TechLogic none/Medium Barracks/Heavy Barracks/Champion Barracks
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier Head Standard
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier Head Copper
				ReplaceTexture Infantry C Halberdier Head Standard/Infantry C Halberdier Head Copper
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier Head Bronze
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier Head Iron
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_idleA
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_idleA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_idleA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_idleA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				length 0.85
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				length 0.85
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				length 0.85
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				length 0.85
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		TechLogic none/Paper Talisman
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.47 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 1.15
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.56 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 1.15
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.56 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 1.15
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.56 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 1.15
				}
			}
		}
		// PAPER TALISMAN (GREEN DRAGON GUANDAO) - FASTER ATTACK RATE
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.47 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 0.95
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.56 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 0.95
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.56 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 0.95
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry C Halberdier_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
					tag Attack 0.56 true
					tag GenericSound 0.40 true
					tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
					ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
					connect RightHand Weapon hotspot
					Connect TopOfHead Head hotspot
					connect BackChest ChineseAcademyShield hotspot
					Length 0.95
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_DeathA
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_DeathA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_DeathA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_DeathA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_BoredA
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_BoredA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_BoredA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_BoredA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}

	}
}

//==============================================================================
anim Flail
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_FlailA
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_FlailA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Copper
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_FlailA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Bronze
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry C Halberdier_FlailA
				ReplaceTexture Infantry C Halberdier Standard/Infantry C Halberdier Iron
				connect RightHand Weapon hotspot
				Connect TopOfHead Head hotspot
				connect BackChest ChineseAcademyShield hotspot
			}
		}
	}
}
